/**
 * WARNING: Do not change this file. Your changes will be lost.
 * <?php echo date("Y-m-d H:i:s"); ?>
 */

<?php
    $d = $this->getConfig("porto_design",$this->_coreRegistry->registry('cssgen_store'));
    $_helper = $this->helper('Smartwave\Porto\Helper\Cssconfig');
?>
<?php
if(isset($d['font']['custom']) && $d['font']['custom']==1){
?>
html, body { 
<?php
    if(isset($d['font']['font_size']) && $d['font']['font_size']){
?>
        font-size: <?php echo $d['font']['font_size']; ?>; 
<?php
    }
    if(isset($d['font']['font_family']) && $d['font']['font_family'] == 'google'){
?>
        font-family: <?php echo $d['font']['google_font_family']; ?>;
<?php
    }
    elseif (isset($d['font']['font_family']) && $d['font']['font_family'] == 'custom') {
        if($d['font']['custom_font_family']) {
?>
        font-family: <?php echo $d['font']['custom_font_family']; ?>;
<?php
        }
    }
    else {
?>
        font-family: <?php echo $d['font']['font_family']; ?>;
<?php
    }
?>
}
<?php
}
if(isset($d['general']['theme_color']) && $d['general']['theme_color']) {
?>
.theme-color{color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?> !important;}
.theme-hover-color:hover{color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?> !important;}
.theme-bg-color{background-color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?> !important;}
.theme-border-color{border-color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?> !important;}
.theme-hover-bg-color:hover{background-color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?> !important;}
a,a:hover, .page-header a, .page-header a:hover, .page-header .panel.header .header.links > li > a, .minicart-wrapper .action.showcart:before, .minicart-wrapper .action.showcart.active:before, .owl-theme .owl-controls .owl-nav [class*=owl-], .recent-posts .post-date .day, .minicart-wrapper .action.showcart:hover:before, .minicart-wrapper .action.showcart:active:before, .minicart-wrapper .action.showcart.active:before, .minicart-wrapper .action.showcart.active:hover:before, .sorter-action:before, .pages a.page, .pages a.page, .sorter-action:hover:before, .product-options-bottom .price-box .price-container .price, .product-info-price .price-box .price-container .price, .product-info-main .product-info-price .price-wrapper .price, .product.data.items > .item.title.active > .switch, .product.data.items > .item.title.active > .switch:focus, .product.data.items > .item.title.active > .switch:hover, .minicart-items .action.edit:before, .minicart-items .action.delete:before, .page-main > .page-title-wrapper .page-title, .cart.table-wrapper .product-item-name > a, .cart.table-wrapper .product-item-name > a:hover, .cart.table-wrapper .col.subtotal .price, .cart.table-wrapper .actions-toolbar > .action-edit:hover:before, .cart.table-wrapper .actions-toolbar > .action-delete:hover:before, .cart.table-wrapper .actions-toolbar > .action-edit:before, .cart.table-wrapper .actions-toolbar > .action-delete:before, .paypal-review-discount .block > .title strong, .cart-discount .block > .title strong, .minicart-items .action.edit:hover:before, .minicart-items .action.delete:hover:before, .authentication-wrapper button.action-auth-toggle, .modal-custom .action-close:before, .modal-popup .action-close:before, .modal-slide .action-close:before, .abs-action-button-as-link:hover, .abs-action-remove:hover, .abs-discount-block .action.check:hover, .popup .actions-toolbar .action.cancel:hover, .paypal-button-widget .paypal-button:hover, .bundle-options-container .action.back:hover, .block.related .action.select:hover, .cart.table-wrapper .actions-toolbar > .action-delete:hover, .cart.table-wrapper .action.help.map:hover, .checkout-index-index .modal-popup .modal-footer .action-hide-popup:hover, .opc-wrapper .edit-address-link:hover, .opc-block-shipping-information .shipping-information-title .action-edit:hover, .action-auth-toggle:hover, .checkout-payment-method .payment-method-billing-address .action-cancel:hover, .checkout-payment-method .payment-method-billing-address .billing-address-details .action-edit-address:hover, .checkout-agreements-block .action-show:hover, .gift-options .actions-toolbar .action-cancel:hover, .gift-summary .action-edit:hover, .gift-summary .action-delete:hover, .gift-wrapping-title .action-remove:hover, .wishlist.split.button > .action:hover, .abs-add-fields .action.remove:hover, .paypal-review-discount .action.check:hover, .cart-discount .action.check:hover, .form-giftregistry-share .action.remove:hover, .form-giftregistry-edit .action.remove:hover, .form-add-invitations .action.remove:hover, .form-create-return .action.remove:hover, .form.send.friend .action.remove:hover, .opc-progress-bar-item._complete > span, .checkout-payment-method .payment-option-title .action-toggle, .checkout-payment-method .payment-option-title .action-toggle:after, .opc-block-shipping-information .shipping-information-title .action-edit:before, .opc-block-shipping-information .shipping-information-title .action-edit:hover:before, .block-collapsible-nav .item.current a, .block-collapsible-nav .item.current strong, .block-collapsible-nav .item a:hover, .block-collapsible-nav .item a:active, .block-collapsible-nav .item a:focus, .magento-rma-returns-returns .page-main .page-title-wrapper .page-title, .magento-rma-returns-view .page-main .page-title-wrapper .page-title, .magento-rma-guest-returns .page-main .page-title-wrapper .page-title, .account .page-main .page-title-wrapper .page-title, [class^="sales-guest-"] .page-main .page-title-wrapper .page-title, .sales-guest-view .page-main .page-title-wrapper .page-title, .magento-rma-guest-returns .page-main .page-title-wrapper .page-title, .fieldset > .legend, p .alternative-font, .entry-content h3, .history h4, .nav-toggle:before, .block-search .label:before, .nav-toggle:hover:before, .block-search .label:hover:before, .fotorama .fotorama-sprite, .fotorama__fullscreen .fotorama .fotorama__zoom-out, .fotorama__fullscreen .fotorama .fotorama__zoom-in, .fotorama .fotorama__arr .fotorama__arr__arr, .fotorama .fotorama__fullscreen-icon, .fotorama .fotorama__thumb__arr, .page-header.type5 .search-area > a, .page-header.type5 .search-area > a:hover, .page-header.type5 .minicart-wrapper .action.showcart:before, .page-header.type5 .minicart-wrapper .action.showcart.active:before, .page-header.type5 .minicart-wrapper .action.showcart .counter.qty, .page-header.type5 .block-search .action.search:before, .block-search .action.search:before, .filterproducts-tab .data.items > .item.title[aria-expanded=true] a.switch, .page-header.type7 .minicart-wrapper .action.showcart .counter.qty, .qty.field .qty-changer > a:hover, .post-holder .post-date .day, .widget.block-recent-posts ul li a, .post-list .post-content .post-read-more, .post-header .post-title a, a:visited, .alink:visited, a:active, .alink:active
    {color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;}
.action.primary, .action.primary:hover, .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span, .recent-posts .post-date .month, .footer-ribbon, .filter-options-title:hover:after, .modes-mode.active, .modes-mode:hover, .pages strong.page, .pages .action:hover, .pages a.page:hover, button:hover, .action.primary:focus, .action.primary:active, .btn-primary, .contact-index-index .page-main .contact-info [class^="porto-icon-"], .contact-index-index .page-main .contact-info [class*=" porto-icon-"], .btn-default, .cms-index-index blockquote.testimonial, .btn-default:hover, .products-grid .product-item-info:hover .product-item-details .product-item-actions .tocart, .products-grid.products.grid.flex-grid .product-item-details .product-item-actions .tocart, .post-holder .post-date .month, .page-header.type8 .header.content, .page-header.type11 .navigation li.level0.active, .iwd-summary-cart
    {background-color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;}
.action.primary, .action.primary:hover, .modes-mode.active, .modes-mode:hover, .pages strong.page, .pages .action:hover, .pages a.page:hover, .fotorama__nav .fotorama__thumb-border, button:hover, .action.primary:focus, .action.primary:active, .products-grid .product-item-info:hover .product-item-details .product-item-actions .tocart, .products-grid.products.grid.flex-grid .product-item-details .product-item-actions .tocart
    {border-color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;}
.page-header, .minicart-wrapper .block-minicart, .product.data.items > .item.title.active > .switch, .product.data.items > .item.title.active > .switch:focus, .product.data.items > .item.title.active > .switch:hover, .authentication-dropdown, .login-container, .form.password.reset, .form.send.confirmation, .form.password.forget, .form.create.account, .form.form-edit-account, .form-address-edit, .form-newsletter-manage, .featured-box .box-content, .history .featured-box .box-content, .form.search.advanced, .homepage-grid-banner .ribbon:before, .cms-index-index .testimonial-arrow-down, #newsletter_popup, .iwd-one-page-checkout-sidebar .iwd-opc-block-summary
    {border-top-color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;}
.minicart-wrapper .block-minicart:before, .prev-next-products .product-nav .product-pop:before, .iwd-one-page-checkout-sidebar .iwd-opc-block-summary:before
    {border-bottom-color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;}
@media (max-width: 767px) {
    .navigation a {
        color: #777 !important;
    }
    .navigation a:hover, .nav-sections .header.links a:hover {
        color: <?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?> !important;
    }
    header.page-header .nav-sections-item-title.active > a, header.page-header .nav-sections-item-title.active > a:hover, header.page-header .nav-sections-item-title.active > a:focus {
        color: <?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;
    }
    header.page-header .nav-sections-item-title, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-top-block a.btn-default:hover, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-top-block a.btn-default:hover, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-left-block a.btn-default:hover, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-left-block a.btn-default:hover, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-right-block a.btn-default:hover, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-right-block a.btn-default:hover, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-bottom-block a.btn-default:hover, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-bottom-block a.btn-default:hover, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-top-block a.btn-default:focus, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-top-block a.btn-default:focus, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-left-block a.btn-default:focus, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-left-block a.btn-default:focus, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-right-block a.btn-default:focus, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-right-block a.btn-default:focus, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-bottom-block a.btn-default:focus, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-bottom-block a.btn-default:focus {
        background-color: <?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;
    }
    .page-header.type5 .minicart-wrapper .action.showcart .counter.qty {
        color: #fff;
    }
}
@media (min-width: 768px) {
    .page-header.type1 .navigation li.level0, .page-header.type1 .panel.header .header.links > li > a, .page-header.type1 .panel.header .header.links > li > a:hover,.page-header.type3 .header.panel .top-panel>.links > li > a, .page-header.type3 .header.panel .top-panel>.links > li > a:hover, .page-header.type4 .header.panel .links > li > a, .page-header.type4 .header.panel .links > li > a:hover, .page-header.type3 .header.panel .block-search .action.search:before, .page-header.type6 .navigation .level0 > .level-top, .page-header.type6 .minicart-wrapper .action.showcart:before, .page-header.type6 .minicart-wrapper .action.showcart.active:before, .page-header.type6 .search-area > a, .page-header.type6 .search-area > a:hover, .page-header.type6 .block-search .action.search:before, .page-header.type11 .panel.header .header.links > li > a, .page-header.type4 .header.panel .block-search .action.search:before, .page-header.type9 .header.panel .block-search .action.search:before, .page-header.type11 .panel.header .header.links > li > a:hover, .page-header.type11 .navigation li.level0:hover {
        color: <?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;
    }
    .page-header.type1 .navigation li.level0.active, .page-header.type1 .navigation li.level0:hover, .page-header.type3 .navigation .level0:hover > .level-top, .page-header.type4 .navigation .level0:hover > .level-top, .page-header.type3 .navigation .level0.active > .level-top, .page-header.type3 .navigation .level0.has-active > .level-top, .page-header.type4 .navigation .level0.active > .level-top, .page-header.type4 .navigation .level0.has-active > .level-top, .page-header.type6 .panel.wrapper, .page-header.type6 .navigation .level0:hover > .level-top, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-top-block a.btn-default, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-top-block a.btn-default, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-left-block a.btn-default, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-left-block a.btn-default, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-right-block a.btn-default, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-right-block a.btn-default, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-bottom-block a.btn-default, .sw-megamenu.navigation li.level0.staticwidth .submenu .menu-bottom-block a.btn-default, .sw-megamenu.navigation.side-megamenu li.level0:hover, .sw-megamenu.navigation li.level0.fullwidth .submenu .menu-right-block a.btn-default:hover {
        background-color: <?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;
    }
    .navigation .level0 .submenu {
        border-color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;
    }
    .product.info.detailed.vertical .product.data.items > .item.title.active > .switch, .product.info.detailed.vertical .product.data.items > .item.title.active > .switch:focus, .product.info.detailed.vertical .product.data.items > .item.title.active > .switch:hover {
        border-left-color: <?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;
    }
    .sw-megamenu.navigation.side-megamenu li.level0:hover > a {
        border-top-color:<?php if (strlen($d['general']['theme_color']) == 6): echo "#"; endif; ?><?php echo $d['general']['theme_color']; ?>;
    }
}
<?php
}
if(isset($d['main']['custom']) && $d['main']['custom']==1){
?>
.page-main {
<?php
    if(isset($d['main']['main_bgcolor']) && $d['main']['main_bgcolor']) {
?>
        background-color:<?php if (strlen($d['main']['main_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['main']['main_bgcolor']; ?>;
<?php
    }
    if(isset($d['main']['main_bg_image']) && $d['main']['main_bg_image']){
?>
        background-image:url(<?php echo $_helper->getBaseMediaUrl()."porto/main_bg/".$d['main']['main_bg_image']; ?>);
<?php
    }
    if(isset($d['main']['main_custom_style']) && $d['main']['main_custom_style']){
?>
<?php echo $d['main']['main_custom_style']; ?>;
<?php
    }
?>
}

<?php
}
if(isset($d['page']['custom']) && $d['page']['custom']==1){
?>
.page-wrapper {
<?php
    if(isset($d['page']['page_bgcolor']) && $d['page']['page_bgcolor']) {
?>
        background-color:<?php if (strlen($d['page']['page_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['page']['page_bgcolor']; ?>;
<?php
    }
    if(isset($d['page']['page_bg_image']) && $d['page']['page_bg_image']){
?>
        background-image:url(<?php echo $_helper->getBaseMediaUrl()."porto/page_bg/".$d['page']['page_bg_image']; ?>);
<?php
    }
    if(isset($d['page']['page_custom_style']) && $d['page']['page_custom_style']){
?>
<?php echo $d['page']['page_custom_style']; ?>;
<?php
    }
?>
}
<?php
}
if(isset($d['page']['custom']) && $d['page']['custom']==1){
    if($d['page']['page_bgcolor']) {
?>
.filterproduct-title .content {
    background-color:<?php if (strlen($d['page']['page_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['page']['page_bgcolor']; ?>;
}
<?php
    }
}
if(isset($d['main']['custom']) && $d['main']['custom']==1){
    if($d['main']['main_bgcolor']) {
?>
.page-main .filterproduct-title .content {
    background-color:<?php if (strlen($d['main']['main_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['main']['main_bgcolor']; ?>;
}
<?php
    }
}
if(isset($d['colors']['custom']) && $d['colors']['custom']==1){
    if(isset($d['colors']['text_color']) && $d['colors']['text_color']){
?>
html,body{color:<?php if (strlen($d['colors']['text_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['text_color']; ?>}
<?php
    }
    if(isset($d['colors']['link_color']) && $d['colors']['link_color']){
?>
a, a:focus {color:<?php if (strlen($d['colors']['link_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['link_color']; ?>}
<?php
    }
    if(isset($d['colors']['link_hover_color']) && $d['colors']['link_hover_color']){
?>
a:hover{color:<?php if (strlen($d['colors']['link_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['link_hover_color']; ?>}
<?php
    }
?>
button.action.primary{
<?php
    if(isset($d['colors']['button_bg_color']) && $d['colors']['button_bg_color']){
?>
    background-color:<?php if (strlen($d['colors']['button_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['button_bg_color']; ?>;
    border-color:<?php if (strlen($d['colors']['button_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['button_bg_color']; ?>;
<?php
    }
    if(isset($d['colors']['button_text_color']) && $d['colors']['button_text_color']){
?>
    color:<?php if (strlen($d['colors']['button_text_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['button_text_color']; ?>
<?php
    }
?>
}
button.action.primary:hover{
<?php
    if(isset($d['colors']['button_hover_bg_color']) && $d['colors']['button_hover_bg_color']){
?>
    background-color:<?php if (strlen($d['colors']['button_hover_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['button_hover_bg_color']; ?>;
    border-color:<?php if (strlen($d['colors']['button_hover_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['button_hover_bg_color']; ?>;
<?php
    }
    if(isset($d['colors']['button_hover_text_color']) && $d['colors']['button_hover_text_color']){
?>
    color:<?php if (strlen($d['colors']['button_hover_text_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['button_hover_text_color']; ?>
<?php
    }
?>
}
<?php
    if(isset($d['colors']['addtowishlist_color']) && $d['colors']['addtowishlist_color']){
?>
.product-item-actions .action.towishlist,.product-addto-links .action.towishlist,.action.towishlist{color:<?php if (strlen($d['colors']['addtowishlist_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['addtowishlist_color']; ?>;border-color:<?php if (strlen($d['colors']['addtowishlist_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['addtowishlist_color']; ?>}
<?php
    }
    if(isset($d['colors']['addtowishlist_hover_color']) && $d['colors']['addtowishlist_hover_color']){
?>
.product-item-actions .action.towishlist:hover,.product-addto-links .action.towishlist:hover,.action.towishlist:hover{color:<?php if (strlen($d['colors']['addtowishlist_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['addtowishlist_hover_color']; ?>;border-color:<?php if (strlen($d['colors']['addtowishlist_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['addtowishlist_hover_color']; ?>}
<?php
    }
    if(isset($d['colors']['addtocompare_color']) && $d['colors']['addtocompare_color']){
?>
.product-addto-links .action.tocompare,.product-item-actions .action.tocompare,.action.tocompare{color:<?php if (strlen($d['colors']['addtocompare_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['addtocompare_color']; ?>;border-color:<?php if (strlen($d['colors']['addtocompare_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['addtocompare_color']; ?>}
<?php
    }
    if(isset($d['colors']['addtocompare_hover_color']) && $d['colors']['addtocompare_hover_color']){
?>
.product-addto-links .action.tocompare:hover,.product-item-actions .action.tocompare:hover,.action.tocompare:hover{color:<?php if (strlen($d['colors']['addtocompare_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['addtocompare_hover_color']; ?>;border-color:<?php if (strlen($d['colors']['addtocompare_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['addtocompare_hover_color']; ?>}
<?php
    }
    if(isset($d['colors']['breadcrumbs_bg_color']) && $d['colors']['breadcrumbs_bg_color']){
?>
.page-wrapper > .breadcrumbs{background-color:<?php if (strlen($d['colors']['breadcrumbs_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['breadcrumbs_bg_color']; ?>}
<?php
    }
    if(isset($d['colors']['breadcrumbs_color']) && $d['colors']['breadcrumbs_color']){
?>
.page-wrapper > .breadcrumbs{color:<?php if (strlen($d['colors']['breadcrumbs_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['breadcrumbs_color']; ?>}
<?php
    }
    if(isset($d['colors']['breadcrumbs_links_color']) && $d['colors']['breadcrumbs_links_color']){
?>
.page-wrapper > .breadcrumbs a, .page-wrapper > .breadcrumbs a:focus{color:<?php if (strlen($d['colors']['breadcrumbs_links_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['breadcrumbs_links_color']; ?>}
<?php
    }
    if(isset($d['colors']['breadcrumbs_links_hover_color']) && $d['colors']['breadcrumbs_links_hover_color']){
?>
.page-wrapper > .breadcrumbs a:hover{color:<?php if (strlen($d['colors']['breadcrumbs_links_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['breadcrumbs_links_hover_color']; ?>}
<?php
    }
    if(isset($d['colors']['sale_bg_color']) && $d['colors']['sale_bg_color']){
?>
.product-label.sale-label{background-color:<?php if (strlen($d['colors']['sale_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['sale_bg_color']; ?>}
<?php
    }
    if(isset($d['colors']['sale_font_color']) && $d['colors']['sale_font_color']){
?>
.product-label.sale-label{color:<?php if (strlen($d['colors']['sale_font_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['sale_font_color']; ?>}
<?php
    }
    if(isset($d['colors']['new_bg_color']) && $d['colors']['new_bg_color']){
?>
.product-label.new-label{background-color:<?php if (strlen($d['colors']['new_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['new_bg_color']; ?>}
<?php
    }
    if(isset($d['colors']['new_font_color']) && $d['colors']['new_font_color']){
?>
.product-label.new-label{color:<?php if (strlen($d['colors']['new_font_color']) == 6): echo "#"; endif; ?><?php echo $d['colors']['new_font_color']; ?>}
<?php
    }
}
if(isset($d['header']['custom']) && $d['header']['custom']==1){
    if(isset($d['header']['header_bgcolor']) && $d['header']['header_bgcolor']){
?>
@media (min-width: 768px){
    .page-header.type1, .page-header.type2, .page-header.type3, .page-header.type4, .page-header.type5, .page-header.type6, .page-header.type7, .page-header.type8 .header.content, .page-header.type9, .page-header.type10, .page-header.type11, .page-header.type12 {
        background-color: <?php if (strlen($d['header']['header_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_bgcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_bg_image']) && $d['header']['header_bg_image']){
?>
@media (min-width: 768px){
    .page-header.type1, .page-header.type2, .page-header.type3, .page-header.type4, .page-header.type5, .page-header.type6, .page-header.type7, .page-header.type8 .header.content, .page-header.type9, .page-header.type10, .page-header.type11, .page-header.type12 {
        background-image:url(<?php echo $_helper->getBaseMediaUrl()."porto/header_bg/".$d['header']['header_bg_image']; ?>);
        background-repeat: repeat;
    }
}
<?php
    }
    if(isset($d['header']['header_bordercolor']) && $d['header']['header_bordercolor']){
?>
    .page-header {
        border-top-color: <?php if (strlen($d['header']['header_bordercolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_bordercolor']; ?>;
    }
<?php
    }
    if(isset($d['header']['header_textcolor']) && $d['header']['header_textcolor']){
?>
@media (min-width: 768px){
    .page-header, .page-header.type1 .custom-block, .page-header.type2 .custom-block, .page-header.type8 .custom-block > *, .page-header.type11 .custom-block, .page-header.type12 .custom-block {
        color: <?php if (strlen($d['header']['header_textcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_textcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_linkcolor']) && $d['header']['header_linkcolor']){
?>
@media (min-width: 768px){
    .page-header.type1 a, .page-header.type2 a, .page-header.type2 .custom-block a, .page-header.type3 a, .page-header.type4 a, .page-header.type5 a, .page-header.type6 a, .page-header.type7 a, .page-header.type8 a, .page-header.type9 a, .page-header.type10 a, .page-header.type11 a, .page-header.type11 .custom-block a, .page-header.type12 .header.panel .custom-block a {
        color: <?php if (strlen($d['header']['header_linkcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_linkcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_top_links_bgcolor']) && $d['header']['header_top_links_bgcolor']){
?>
@media (min-width: 768px){
    .page-header > .panel.wrapper, .page-header.type1 > .panel.wrapper, .page-header.type2 > .panel.wrapper, .page-header.type5 > .panel.wrapper, .page-header.type6 .panel.wrapper, .page-header.type8 > .panel.wrapper > .panel.header, .page-header.type11 > .panel.wrapper {
        background-color: <?php if (strlen($d['header']['header_top_links_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_top_links_bgcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_top_links_color']) && $d['header']['header_top_links_color']){
?>
@media (min-width: 768px){
    .page-header.type1 .panel.header .header.links > li > a, .page-header.type1 .panel.header .header.links > li > a:hover, .page-header.type2 .panel.header .header.links > li > a, .page-header.type2 .header.panel > .header.links > li > a, .page-header.type2 .panel.header .header.links > li > a:hover, .page-header.type3 .header.panel .top-panel>.header.links > li > a, .page-header.type3 .header.panel .top-panel > .links > li, .page-header.type3 .panel.header .top-panel>.header.links > li > a:hover, .page-header.type3 .header.panel .search-area > a:hover, .page-header.type3 .header.panel .search-area > a, .page-header.type5 .panel.header .header.links > li > a, .page-header.type5 .panel.header .header.links > li > a:hover, .page-header.type5 > .panel.wrapper, .page-header.type5 .header.panel .switcher, .page-header.type6 .panel.header .header.links > li > a, .page-header.type6 .panel.header .header.links > li > a:hover, .page-header.type6 > .panel.wrapper, .page-header.type6 .header.panel .switcher, .page-header.type7 .panel.header a, .page-header.type7 .panel.header a:hover, .page-header.type7 > .panel.wrapper, .page-header.type7 .header.panel .switcher, .page-header.type8 .panel.header a, .page-header.type8 .panel.header a:hover, .page-header.type8 > .panel.wrapper, .page-header.type8 .header.panel .switcher, .page-header.type8 .panel.header .header.links > li > a, .page-header.type9 .header.panel .top-panel>.header.links > li > a, .page-header.type9 .header.panel .top-panel > .links > li, .page-header.type9 .panel.header .top-panel>.header.links > li > a:hover, .page-header.type9 .header.panel .search-area > a:hover, .page-header.type9 .header.panel .search-area > a, .page-header.type11 .panel.header .header.links > li > a, .page-header.type11 .header.panel > .header.links > li > a, .page-header.type11 .panel.header .header.links > li > a:hover, .page-header.type12 .header.panel .top-panel .links > li > a:hover, .page-header.type12 .header.panel .top-panel .links > li > a, .page-header.type12 .header.panel .top-panel .links > li > span {
        color: <?php if (strlen($d['header']['header_top_links_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_top_links_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_bgcolor']) && $d['header']['header_menu_bgcolor']){
?>
@media (min-width: 768px){
    .page-header.type1 .navigation > ul, .page-header.type2 .nav-sections, .page-header.type8 .menu-wrapper, .page-header .drop-menu .nav-sections, .page-header.type11 .nav-sections {
        background-color: <?php if (strlen($d['header']['header_menu_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_bgcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_color']) && $d['header']['header_menu_color']){
?>
@media (min-width: 768px){
    .page-header.type1 .navigation li.level0, .page-header.type3 .navigation .level0 > .level-top, .page-header.type4 .navigation .level0 > .level-top, .page-header.type5 .navigation .level0 > .level-top, .page-header.type2 .navigation .level0 > .level-top, .page-header.type11 .navigation li.level0 > .level-top, .page-header.type6 .navigation .level0 > .level-top, .page-header.type7 .navigation .level0 > .level-top, .page-header .drop-menu + .custom-menu-block a, .page-header.type8 .navigation .level0 > .level-top, .page-header.type9 .navigation .level0 > .level-top {
        color: <?php if (strlen($d['header']['header_menu_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_hover_bgcolor']) && $d['header']['header_menu_hover_bgcolor']){
?>
@media (min-width: 768px){
    .page-header.type1 .navigation li.level0.active, .page-header.type1 .navigation li.level0:hover, .page-header.type3 .navigation .level0:hover > .level-top, .page-header.type3 .navigation .level0.active > .level-top, .page-header.type3 .navigation .level0.has-active > .level-top, .page-header.type4 .navigation .level0:hover > .level-top, .page-header.type4 .navigation .level0.active > .level-top, .page-header.type4 .navigation .level0.has-active > .level-top, .page-header.type5 .navigation .level0:hover > .level-top, .page-header.type5 .navigation .level0.active > .level-top, .page-header.type5 .navigation .level0.has-active > .level-top, .page-header.type6 .navigation .level0:hover > .level-top, .page-header.type6 .navigation .level0.active > .level-top, .page-header.type6 .navigation .level0.has-active > .level-top, .page-header.type7 .navigation .level0:hover > .level-top, .page-header.type7 .navigation .level0.active > .level-top, .page-header.type7 .navigation .level0.has-active > .level-top, .sw-megamenu.navigation.side-megamenu li.level0:hover, .page-header.type11 .navigation li.level0:hover, .page-header.type11 .navigation li.level0.active, .page-header.type11 .navigation li.level0.has-active, .page-header.type9 .navigation .level0:hover > .level-top, .page-header.type9 .navigation .level0.active > .level-top, .page-header.type9 .navigation .level0.has-active > .level-top {
        background-color: <?php if (strlen($d['header']['header_menu_hover_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_hover_bgcolor']; ?>;
    }
    .sw-megamenu.navigation.side-megamenu li.level0:hover > a {
        border-top-color: <?php if (strlen($d['header']['header_menu_hover_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_hover_bgcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_hover_color']) && $d['header']['header_menu_hover_color']){
?>
@media (min-width: 768px){
    .page-header.type1 .navigation li.level0.active, .page-header.type1 .navigation li.level0:hover, .page-header.type2 .navigation .level0:hover > .level-top, .page-header.type3 .navigation .level0:hover > .level-top, .page-header.type3 .navigation .level0.active > .level-top, .page-header.type3 .navigation .level0.has-active > .level-top, .page-header.type4 .navigation .level0:hover > .level-top, .page-header.type4 .navigation .level0.active > .level-top, .page-header.type4 .navigation .level0.has-active > .level-top, .page-header.type5 .navigation .level0:hover > .level-top, .page-header.type5 .navigation .level0.active > .level-top, .page-header.type5 .navigation .level0.has-active > .level-top, .page-header.type6 .navigation .level0:hover > .level-top, .page-header.type6 .navigation .level0.active > .level-top, .page-header.type6 .navigation .level0.has-active > .level-top, .page-header.type7 .navigation .level0:hover > .level-top, .page-header.type7 .navigation .level0.active > .level-top, .page-header.type7 .navigation .level0.has-active > .level-top, .page-header.type8 .navigation .level0:hover > .level-top, .page-header.type8 .navigation .level0.active > .level-top, .page-header.type8 .navigation .level0.has-active > .level-top, .page-header.type11 .navigation li.level0:hover, .page-header.type11 .navigation li.level0.active, .page-header.type11 .navigation li.level0.has-active, .page-header.type9 .navigation .level0:hover > .level-top, .page-header.type9 .navigation .level0.active > .level-top, .page-header.type9 .navigation .level0.has-active > .level-top {
        color: <?php if (strlen($d['header']['header_menu_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_hover_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_classicmenu_bgcolor']) && $d['header']['header_menu_classicmenu_bgcolor']){
?>
@media (min-width: 768px){
    .navigation .level0 .submenu, .sw-megamenu.navigation li.level0.classic .subchildmenu .subchildmenu {
        background-color: <?php if (strlen($d['header']['header_menu_classicmenu_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_classicmenu_bgcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_classicmenu_bordercolor']) && $d['header']['header_menu_classicmenu_bordercolor']){
?>
@media (min-width: 768px){
    .navigation .level0 .submenu {
        border-color: <?php if (strlen($d['header']['header_menu_classicmenu_bordercolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_classicmenu_bordercolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_classicmenu_color']) && $d['header']['header_menu_classicmenu_color']){
?>
@media (min-width: 768px){
    .navigation .level0 .submenu a {
        color: <?php if (strlen($d['header']['header_menu_classicmenu_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_classicmenu_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_classicmenu_hover_bgcolor']) && $d['header']['header_menu_classicmenu_hover_bgcolor']){
?>
@media (min-width: 768px){
    .navigation .level0 .submenu a:hover, .navigation .level0 .submenu a.ui-state-focus {
        background-color: <?php if (strlen($d['header']['header_menu_classicmenu_hover_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_classicmenu_hover_bgcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_classicmenu_hover_color']) && $d['header']['header_menu_classicmenu_hover_color']){
?>
@media (min-width: 768px){
    .navigation .level0 .submenu a:hover, .navigation .level0 .submenu a.ui-state-focus {
        color: <?php if (strlen($d['header']['header_menu_classicmenu_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_classicmenu_hover_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_megamenu_bgcolor']) && $d['header']['header_menu_megamenu_bgcolor']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation li.level0.fullwidth > .submenu, .sw-megamenu.navigation li.level0.staticwidth > .submenu {
        background-color: <?php if (strlen($d['header']['header_menu_megamenu_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_megamenu_bgcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_megamenu_bordercolor']) && $d['header']['header_menu_megamenu_bordercolor']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation li.level0.fullwidth > .submenu, .sw-megamenu.navigation li.level0.staticwidth > .submenu {
        border-color: <?php if (strlen($d['header']['header_menu_megamenu_bordercolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_megamenu_bordercolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_megamenu_color']) && $d['header']['header_menu_megamenu_color']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation li.level0.fullwidth > .submenu a, .sw-megamenu.navigation li.level0.staticwidth > .submenu a {
        color: <?php if (strlen($d['header']['header_menu_megamenu_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_megamenu_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_megamenu_hover_color']) && $d['header']['header_menu_megamenu_hover_color']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation li.level0.fullwidth > .submenu a:hover, .sw-megamenu.navigation li.level0.staticwidth > .submenu a:hover {
        color: <?php if (strlen($d['header']['header_menu_megamenu_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_megamenu_hover_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_label1_bg_color']) && $d['header']['header_menu_label1_bg_color']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label1 {
        background-color: <?php if (strlen($d['header']['header_menu_label1_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label1_bg_color']; ?>;
    }
    .sw-megamenu.navigation li.level0 > a > span.cat-label.cat-label-label1:before {
        border-top-color: <?php if (strlen($d['header']['header_menu_label1_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label1_bg_color']; ?>;
    }
    .sw-megamenu.navigation li .subchildmenu li > a > span > span.cat-label.cat-label-label1:before, .sw-megamenu.navigation.side-megamenu li.level0 > a > span.cat-label.cat-label-label1:before {
        border-right-color: <?php if (strlen($d['header']['header_menu_label1_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label1_bg_color']; ?>;
    }
}
@media (max-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label1 {
        background-color: <?php if (strlen($d['header']['header_menu_label1_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label1_bg_color']; ?>;
    }
    .sw-megamenu.navigation span.cat-label.cat-label-label1:before {
        border-right-color: <?php if (strlen($d['header']['header_menu_label1_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label1_bg_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_label1_font_color']) && $d['header']['header_menu_label1_font_color']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label1 {
        color: <?php if (strlen($d['header']['header_menu_label1_font_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label1_font_color']; ?>;
    }
}
@media (max-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label1 {
        color: <?php if (strlen($d['header']['header_menu_label1_font_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label1_font_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_label2_bg_color']) && $d['header']['header_menu_label2_bg_color']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label2 {
        background-color: <?php if (strlen($d['header']['header_menu_label2_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label2_bg_color']; ?>;
    }
    .sw-megamenu.navigation li.level0 > a > span.cat-label.cat-label-label2:before {
        border-top-color: <?php if (strlen($d['header']['header_menu_label2_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label2_bg_color']; ?>;
    }
    .sw-megamenu.navigation li .subchildmenu li > a > span > span.cat-label.cat-label-label2:before, .sw-megamenu.navigation.side-megamenu li.level0 > a > span.cat-label.cat-label-label2:before {
        border-right-color: <?php if (strlen($d['header']['header_menu_label2_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label2_bg_color']; ?>;
    }
}
@media (max-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label2 {
        background-color: <?php if (strlen($d['header']['header_menu_label2_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label2_bg_color']; ?>;
    }
    .sw-megamenu.navigation span.cat-label.cat-label-label2:before {
        border-right-color: <?php if (strlen($d['header']['header_menu_label2_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label2_bg_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_label2_font_color']) && $d['header']['header_menu_label2_font_color']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label2 {
        color: <?php if (strlen($d['header']['header_menu_label2_font_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label2_font_color']; ?>;
    }
}
@media (max-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label2 {
        color: <?php if (strlen($d['header']['header_menu_label2_font_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label2_font_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_label3_bg_color']) && $d['header']['header_menu_label3_bg_color']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label3 {
        background-color: <?php if (strlen($d['header']['header_menu_label3_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label3_bg_color']; ?>;
    }
    .sw-megamenu.navigation li.level0 > a > span.cat-label.cat-label-label3:before {
        border-top-color: <?php if (strlen($d['header']['header_menu_label3_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label3_bg_color']; ?>;
    }
    .sw-megamenu.navigation li .subchildmenu li > a > span > span.cat-label.cat-label-label3:before, .sw-megamenu.navigation.side-megamenu li.level0 > a > span.cat-label.cat-label-label3:before {
        border-right-color: <?php if (strlen($d['header']['header_menu_label3_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label3_bg_color']; ?>;
    }
}
@media (max-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label3 {
        background-color: <?php if (strlen($d['header']['header_menu_label3_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label3_bg_color']; ?>;
    }
    .sw-megamenu.navigation span.cat-label.cat-label-label3:before {
        border-right-color: <?php if (strlen($d['header']['header_menu_label3_bg_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label3_bg_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_menu_label3_font_color']) && $d['header']['header_menu_label3_font_color']){
?>
@media (min-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label3 {
        color: <?php if (strlen($d['header']['header_menu_label3_font_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label3_font_color']; ?>;
    }
}
@media (max-width: 768px){
    .sw-megamenu.navigation span.cat-label.cat-label-label3 {
        color: <?php if (strlen($d['header']['header_menu_label3_font_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_menu_label3_font_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_search_bgcolor']) && $d['header']['header_search_bgcolor']){
?>
@media (min-width: 768px){
    .page-header.type1 .block-search input, .page-header.type2 .block-search input, .page-header.type8 .block-search input, .page-header.type11 .block-search input {
        background-color: <?php if (strlen($d['header']['header_search_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_search_bgcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_search_text_color']) && $d['header']['header_search_text_color']){
?>
@media (min-width: 768px){
    .page-header.type1 .block-search input, .page-header.type2 .block-search input, .page-header.type1 .block-search .action.search:before, .page-header.type1 .block-search .action.search:hover:before, .page-header.type2 .block-search .action.search:before, .page-header.type2 .block-search .action.search:hover:before, .page-header.type8 .block-search input, .page-header.type8 .block-search .action.search:before, .page-header.type8 .block-search .action.search:hover:before, .page-header.type11 .block-search input, .page-header.type11 .block-search .action.search:before, .page-header.type11 .block-search .action.search:hover:before, .page-header.type12:not(.sticky-header) .header.panel .block-search input  {
        color: <?php if (strlen($d['header']['header_search_text_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_search_text_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_search_bordercolor']) && $d['header']['header_search_bordercolor']){
?>
@media (min-width: 768px){
    .page-header.type1 .block-search input, .page-header.type1 .block-search .action.search, .page-header.type2 .block-search input, .page-header.type2 .block-search .action.search, .page-header.type8 .block-search input, .page-header.type8 .block-search .action.search, .page-header.type11 .block-search input, .page-header.type11 .block-search .action.search, .page-header.type12:not(.sticky-header) .header.panel .block-search input {
        border-color: <?php if (strlen($d['header']['header_search_bordercolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_search_bordercolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_minicart_bgcolor']) && $d['header']['header_minicart_bgcolor']){
?>
@media (min-width: 768px){
    .page-header.type3 .header.panel .minicart-wrapper, .page-header.type3 .header.panel .switcher, .page-header.type4 .header.panel .switcher, .page-header.type4 .header.panel .minicart-wrapper, .page-header.type9 .header.panel .minicart-wrapper, .page-header.type9 .header.panel .switcher, .page-header.type12 .header.panel .minicart-wrapper, .page-header.type12 .header.panel .switcher {
        background-color: <?php if (strlen($d['header']['header_minicart_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_minicart_bgcolor']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_minicart_color']) && $d['header']['header_minicart_color']){
?>
@media (min-width: 768px){
    .minicart-wrapper .action.showcart .counter.qty, .page-header.type2 .minicart-wrapper .action.showcart .counter.qty, .page-header.type3 .header.panel .minicart-wrapper .action.showcart .counter.qty, .page-header.type3 .header.panel .switcher, .page-header.type4 .header.panel .switcher, .page-header.type4 .header.panel .minicart-wrapper .action.showcart .counter.qty, .page-header.type5 .minicart-wrapper .action.showcart .counter.qty, .page-header.type6 .minicart-wrapper .action.showcart .counter.qty, .page-header.type7 .minicart-wrapper .action.showcart .counter.qty, .page-header.type8 .minicart-wrapper .action.showcart .counter.qty, .page-header.type9 .header.panel .minicart-wrapper .action.showcart .counter.qty, .page-header.type9 .header.panel .switcher, .page-header.type11 .minicart-wrapper .action.showcart .counter.qty, .page-header.type12 .header.panel .switcher, .page-header.type12 .header.panel .minicart-wrapper .action.showcart .counter.qty {
        color: <?php if (strlen($d['header']['header_minicart_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_minicart_color']; ?>;
    }
}
<?php
    }
    if(isset($d['header']['header_minicart_icon_color']) && $d['header']['header_minicart_icon_color']){
?>
@media (min-width: 768px){
    .page-header.type1 .minicart-wrapper .action.showcart:before, .page-header.type1 .minicart-wrapper .action.showcart.active:before, .page-header.type2 .minicart-wrapper .action.showcart:before, .page-header.type2 .minicart-wrapper .action.showcart.active:before, .page-header.type3 .header.panel .minicart-wrapper .action.showcart:before, .page-header.type3 .header.panel .minicart-wrapper .action.showcart.active:before, .page-header.type4 .header.panel .minicart-wrapper .action.showcart:before, .page-header.type4 .header.panel .minicart-wrapper .action.showcart.active:before, .page-header.type5 .minicart-wrapper .action.showcart:before, .page-header.type5 .minicart-wrapper .action.showcart.active:before, .page-header.type6 .minicart-wrapper .action.showcart:before, .page-header.type6 .minicart-wrapper .action.showcart.active:before, .page-header.type7 .minicart-wrapper .action.showcart:before, .page-header.type7 .minicart-wrapper .action.showcart.active:before, .page-header.type8 .minicart-wrapper .action.showcart:before, .page-header.type8 .minicart-wrapper .action.showcart.active:before, .page-header.type9 .header.panel .minicart-wrapper .action.showcart:before, .page-header.type9 .header.panel .minicart-wrapper .action.showcart.active:before, .page-header.type11 .minicart-wrapper .action.showcart:before, .page-header.type11 .minicart-wrapper .action.showcart.active:before, .page-header.type12 .header.panel .minicart-wrapper .action.showcart:before, .page-header.type12 .header.panel .minicart-wrapper .action.showcart.active:before {
        color: <?php if (strlen($d['header']['header_minicart_icon_color']) == 6): echo "#"; endif; ?><?php echo $d['header']['header_minicart_icon_color']; ?>;
    }
}
<?php
    }
}
if(isset($d['footer']['custom']) && $d['footer']['custom']==1){
    if(isset($d['footer']['footer_top_bgcolor']) && $d['footer']['footer_top_bgcolor']){
?>
.footer-top{
    background-color:<?php if (strlen($d['footer']['footer_top_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_top_bgcolor']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_top_color']) && $d['footer']['footer_top_color']){
?>
.footer-top{
    color:<?php if (strlen($d['footer']['footer_top_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_top_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_top_link_color']) && $d['footer']['footer_top_link_color']){
?>
.footer-top a {
    color:<?php if (strlen($d['footer']['footer_top_link_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_top_link_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_top_link_hover_color']) && $d['footer']['footer_top_link_hover_color']){
?>
.footer-top a:hover{
    background-color:<?php if (strlen($d['footer']['footer_top_link_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_top_link_hover_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_bgcolor']) && $d['footer']['footer_middle_bgcolor']){
?>
.footer-middle{
    background-color:<?php if (strlen($d['footer']['footer_middle_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_bgcolor']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_color']) && $d['footer']['footer_middle_color']){
?>
.footer-middle, .footer-middle p{
    color:<?php if (strlen($d['footer']['footer_middle_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_link_color']) && $d['footer']['footer_middle_link_color']){
?>
.footer-middle a{
    color:<?php if (strlen($d['footer']['footer_middle_link_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_link_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_link_hover_color']) && $d['footer']['footer_middle_link_hover_color']){
?>
.footer-middle a:hover{
    color:<?php if (strlen($d['footer']['footer_middle_link_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_link_hover_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_title_color']) && $d['footer']['footer_middle_title_color']){
?>
.footer-middle .block .block-title strong{
    color:<?php if (strlen($d['footer']['footer_middle_title_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_title_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_links_icon_color']) && $d['footer']['footer_middle_links_icon_color']){
?>
.footer-middle [class^="porto-icon-"].theme-color, .footer-middle [class*=" porto-icon-"].theme-color{
    color:<?php if (strlen($d['footer']['footer_middle_links_icon_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_links_icon_color']; ?> !important;
}
<?php
    }
    if(isset($d['footer']['footer_middle_2_bgcolor']) && $d['footer']['footer_middle_2_bgcolor']){
?>
.footer-middle-2{
    background-color:<?php if (strlen($d['footer']['footer_middle_2_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_2_bgcolor']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_2_color']) && $d['footer']['footer_middle_2_color']){
?>
.footer-middle-2, .footer-middle-2 p{
    color:<?php if (strlen($d['footer']['footer_middle_2_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_2_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_2_link_color']) && $d['footer']['footer_middle_2_link_color']){
?>
.footer-middle-2 a{
    color:<?php if (strlen($d['footer']['footer_middle_2_link_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_2_link_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_2_link_hover_color']) && $d['footer']['footer_middle_2_link_hover_color']){
?>
.footer-middle-2 a:hover{
    color:<?php if (strlen($d['footer']['footer_middle_2_link_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_2_link_hover_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_2_title_color']) && $d['footer']['footer_middle_2_title_color']){
?>
.footer-middle-2 .block .block-title strong{
    color:<?php if (strlen($d['footer']['footer_middle_2_title_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_2_title_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_2_links_icon_color']) && $d['footer']['footer_middle_2_links_icon_color']){
?>
.footer-middle-2 [class^="porto-icon-"].theme-color, .footer-middle-2 [class*=" porto-icon-"].theme-color{
    color:<?php if (strlen($d['footer']['footer_middle_2_links_icon_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_2_links_icon_color']; ?> !important;
}
<?php
    }
    if(isset($d['footer']['footer_middle_ribbon_bgcolor']) && $d['footer']['footer_middle_ribbon_bgcolor']){
?>
.footer-ribbon{
    background-color:<?php if (strlen($d['footer']['footer_middle_ribbon_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_ribbon_bgcolor']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_ribbon_shadow_color']) && $d['footer']['footer_middle_ribbon_shadow_color']){
?>
.footer-ribbon:before{
    border-right-color:<?php if (strlen($d['footer']['footer_middle_ribbon_shadow_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_ribbon_shadow_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_middle_ribbon_color']) && $d['footer']['footer_middle_ribbon_color']){
?>
.footer-ribbon span{
    color:<?php if (strlen($d['footer']['footer_middle_ribbon_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_middle_ribbon_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_bottom_bgcolor']) && $d['footer']['footer_bottom_bgcolor']){
?>
.footer-bottom{
    background-color:<?php if (strlen($d['footer']['footer_bottom_bgcolor']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_bottom_bgcolor']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_bottom_color']) && $d['footer']['footer_bottom_color']){
?>
.footer-bottom, .footer-bottom p{
    color:<?php if (strlen($d['footer']['footer_bottom_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_bottom_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_bottom_link_color']) && $d['footer']['footer_bottom_link_color']){
?>
.footer-bottom a{
    color:<?php if (strlen($d['footer']['footer_bottom_link_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_bottom_link_color']; ?>;
}
<?php
    }
    if(isset($d['footer']['footer_bottom_link_hover_color']) && $d['footer']['footer_bottom_link_hover_color']){
?>
.footer-bottom a:hover{
    color:<?php if (strlen($d['footer']['footer_bottom_link_hover_color']) == 6): echo "#"; endif; ?><?php echo $d['footer']['footer_bottom_link_hover_color']; ?>;
}
<?php
    }
}
?>